package org.pidan.basic.designModel.agency.CGLIB;

/**
 * {@code @description}: cglib动态代理客户端
 *
 * {@code @author}: huangyuxin
 * {@code @date}: 2023-11-16
 */
public class Client {

    public static void main(String[] args) {


        CglibProxy cglibProxy = new CglibProxy();
        UserDao userDao = (UserDao) cglibProxy.getInstance(new UserDaoImpl());
        userDao.save();
    }
}
